﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Epona.Domain.Query.Impl
{
    public class IsEmptyCriterion:BasicCriterion
    {
        public IsEmptyCriterion(string propName)
            :base(propName)
        { 
        }

        public override string ToQueryString()
        {
            return GetPropNameWithAlias()+" is empty";
        }

        public override NamedParameters GetParameters()
        {
            return NamedParameters.Create();
        }
    }
}
